﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using PlatformNetCore.Entity;
using PlatformNetCore.Entity.Models;

namespace PlatformNetCore.IService
{
    public interface IPartnerService
    {
        #region 合作伙伴管理
        LayPager<Partner> GetPartnerPagedList(int pageIndex, int pageSize, Expression<Func<Partner, bool>> predicate);
        ResultResponse<Partner> GetPartner(string id);
        ResultResponse AddPartner(Partner model);
        ResultResponse UpdatePartner(Partner model);
        ResultResponse UpdatePartnerState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
